package cate.game.role.pvp;

import cate.game.db.GameMongoDao;
import cate.game.role.Role;
import cate.game.role.RolePartGetter;
import org.springframework.data.mongodb.repository.MongoRepository;

public class RolePvpGetter extends RolePartGetter<RolePvp> {
    public RolePvpGetter(Role role) {
        super(role);
    }

    @Override
    protected MongoRepository<RolePvp, String> getRepo(GameMongoDao dao) {
        return dao.pvp;
    }
}
